﻿using System.Text.Json.Serialization;

namespace OT.HikiSecureCenterApis.Service.Video.Res
{
    public class ResGetTVWallWnds
    {
        /// <summary>
        /// 窗口信息列表
        /// </summary>
        public List<WndList> wnd_list { get; set; }
    }
    /// <summary>
    /// 监控点信息
    /// </summary>
    public class Camera
    {
        /// <summary>
        /// 监控点唯一标识
        /// </summary>
        public string index_code { get; set; }
        /// <summary>
        /// 取流url
        /// </summary>
        public string stream_url { get; set; }
        /// <summary>
        /// 监控点名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 通道号
        /// </summary>
        public int channel { get; set; }
        /// <summary>
        /// 码流类型，-1-平台码流 0-主码流 1-子码流 2-第三码流
        /// </summary>
        public int stream_type { get; set; }
    }
    /// <summary>
    /// 解码资源信息
    /// </summary>
    public class Decoder
    {
        /// <summary>
        /// 解码器编号
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 解码器名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 解码器indexCode
        /// </summary>
        public string index_code { get; set; }
        /// <summary>
        /// 解码器Ip
        /// </summary>
        public string ip_addr { get; set; }
        /// <summary>
        /// 解码器port
        /// </summary>
        public int port { get; set; }
        /// <summary>
        /// true-离线，false-在线
        /// </summary>
        public bool offline { get; set; }
    }
}
